with open("g:/1.txt","r",encoding="UTF-8") as f:
    list = f.read()
    cishu = list.count("itheima")
    print(f"共出现{cishu}次")